﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace WooCoo.Web.MVC
{
    /// <summary>
    /// 
    /// </summary>
    public interface IWebModule:IModule
    {
        /// <summary>
        /// 根据复合参数类型/参数代码取得参数值
        /// </summary>
        /// <param name="paraType"></param>
        /// <param name="code"></param>
        /// <returns></returns>
        string GetCommonParameter(string paraType, string code);

        /// <summary>
        /// 根据哈希类型/键值取得哈希值
        /// </summary>
        /// <param name="hashType"></param>
        /// <param name="hashKey"></param>
        /// <returns></returns>
        string GetHashParameter(string hashType, string hashKey);
        /// <summary>
        /// 首页的路由信息
        /// </summary>
        RedirectToRouteResult FirstPage { get; }
    }
}